<?php use_helper('I18N'); ?>

<?php if ($concerts): ?>
<div id="upcoming" class="sub-block">
  <h3><?php echo __('Upcoming shows') ?></h3>
  
  <div class="sub-block-body">
  <ul>
    <?php foreach ($concerts as $concert): ?>
    <li class="vevent">
      <dl>
        <dt class="location"><?php echo $concert->getLocation() ?></dt>
        <dd>
          <?php if ($sf_user->getCulture() == 'fr'): ?>
            <p class="dtstart" title="<?php echo $concert->getPlayAt('c') ?>"><?php echo $concert->getPlayAt('d/m/Y, H:i') ?></p>
          <?php else: ?>
            <p class="dtstart" title="<?php echo $concert->getPlayAt('c') ?>"><?php echo $concert->getFormattedPlayAt() ?></p>
          <?php endif; ?>
          <p class="summary">
            <?php echo $concert->getSalle() ?>
          </p>
        </dd>
      </dl>
    </li>
    <?php endforeach; ?>
  </ul>
  
  <?php echo link_to(__('see more'), '@tour') ?>
  </div>
  
</div>
<?php endif; ?>